<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2024-01-17
  Time: 15:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link href="css/tobuhedib.css" rel="stylesheet" type="text/css">
<div class="head">
  <div class="kjia">
    <div class="tup"><img src="img/img_1.png"/></div>
    <div class="tiku">题库</div>
    <div class="biaoq">
      <div onclick="goToUrl('CurriculumServlet')" class="zhizhen">我的自测</div>
      <div onclick="goToUrl('TonyiCeshiQianServlet')" class="zhizhen">统一测试</div>
      <div onclick="goToUrl('HistoryServlet')" class="zhizhen">我的历史</div>
      <div><a class="zhizhen">试题广场</a></div>
      <div id="qwe"><a class="zhizhen">课程</a></div>

      <script>
        function goToUrl(url) {
          window.location.href = url;
        }
      </script>
    </div>
    <div class="kecheng">
      <img class="" src="img/img_3.png"/>
      <div class="kechengxx">
        <table class="kechengbg" width="100%" border="1" cellspacing="0" cellpadding="1">
          <tr >
            <td class="bgpb">
              <div class="kcan">正在学习</div>
              <div>BCSP2021S2课程</div>
            </td>
          </tr>
          <tr>
            <td class="kcbj">BCSP2021S2课程</td>
          </tr>
          <tr>
            <td>BCSP2021S1课程</td>
          </tr>
        </table>
      </div>
    </div>
    <div class="xiaoxi">
      <img src="img/img_2.png"/>
    </div>
    <div class="xiaoxi">
      <img src="img/img_4.png "/>
    </div>
    <div class="xinming">
      ${sessionScope.user.uname}
    </div>
    <div class="tchu" onclick="logout()" >退出</div>
    <script type="text/javascript">
      function logout() {
        window.location.href = "LogoutServlet";
      }
    </script>
  </div>
</div>
